package model.auxiliary;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User: kostika
 * Date: 12/28/12
 * Time: 4:50 PM
 */
public class PersonMaritalStatus {
    private int id;
    private String abbreviation;
    private String description;

    public PersonMaritalStatus(int id, String abbreviation, String description) {
        this.setId(id);
        this.setAbbreviation(abbreviation);
        this.setDescription(description);
    }

    public PersonMaritalStatus() {
        this(0,"---","---");
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description.trim();
    }
}
